/**
 * <copyright>
 * </copyright>
 *
 * $Id$
 */
package xcore.model;

import org.eclipse.emf.common.util.EList;

/**
 * <!-- begin-user-doc -->
 * A representation of the model object '<em><b>XReference</b></em>'.
 * <!-- end-user-doc -->
 *
 * <p>
 * The following features are supported:
 * <ul>
 *   <li>{@link xcore.model.XReference#getXClass <em>XClass</em>}</li>
 *   <li>{@link xcore.model.XReference#getXRelations <em>XRelations</em>}</li>
 *   <li>{@link xcore.model.XReference#getFeatures <em>Features</em>}</li>
 * </ul>
 * </p>
 *
 * @see xcore.model.ModelPackage#getXReference()
 * @model
 * @generated
 */
public interface XReference extends XFeature {
	/**
	 * Returns the value of the '<em><b>XClass</b></em>' reference.
	 * It is bidirectional and its opposite is '{@link xcore.model.XClass#getXReferences <em>XReferences</em>}'.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>XClass</em>' reference isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>XClass</em>' reference.
	 * @see #setXClass(XClass)
	 * @see xcore.model.ModelPackage#getXReference_XClass()
	 * @see xcore.model.XClass#getXReferences
	 * @model opposite="xReferences" required="true"
	 * @generated
	 */
	XClass getXClass();

	/**
	 * Sets the value of the '{@link xcore.model.XReference#getXClass <em>XClass</em>}' reference.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>XClass</em>' reference.
	 * @see #getXClass()
	 * @generated
	 */
	void setXClass(XClass value);

	/**
	 * Returns the value of the '<em><b>XRelations</b></em>' containment reference list.
	 * The list contents are of type {@link xcore.model.XRelation}.
	 * It is bidirectional and its opposite is '{@link xcore.model.XRelation#getXReference <em>XReference</em>}'.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>XRelations</em>' containment reference list isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>XRelations</em>' containment reference list.
	 * @see xcore.model.ModelPackage#getXReference_XRelations()
	 * @see xcore.model.XRelation#getXReference
	 * @model opposite="xReference" containment="true"
	 * @generated
	 */
	EList<XRelation> getXRelations();

	/**
	 * Returns the value of the '<em><b>Features</b></em>' containment reference list.
	 * The list contents are of type {@link xcore.model.XRefFeature}.
	 * It is bidirectional and its opposite is '{@link xcore.model.XRefFeature#getXReference <em>XReference</em>}'.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Features</em>' containment reference list isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Features</em>' containment reference list.
	 * @see xcore.model.ModelPackage#getXReference_Features()
	 * @see xcore.model.XRefFeature#getXReference
	 * @model opposite="xReference" containment="true" required="true"
	 * @generated
	 */
	EList<XRefFeature> getFeatures();

} // XReference
